OrmLiteAuthRepository<TUserAuth, TUserAuthDetails>
Assembly: ServiceStack.Server.dll
View Source
Declaration
public class OrmLiteAuthRepository<TUserAuth, TUserAuthDetails> : OrmLiteAuthRepositoryBase<TUserAuth, TUserAuthDetails>, IUserAuthRepository, IAuthRepository, IRequiresSchema, IClearable, IManageRoles, IManageApiKeys, ICustomUserAuth, IQueryUserAuth, IUserAuthRepositoryAsync, IAuthRepositoryAsync, IClearableAsync, IManageRolesAsync, IManageApiKeysAsync, IQueryUserAuthAsync, IManageSourceRolesAsync where TUserAuth : class, IUserAuth where TUserAuthDetails : class, IUserAuthDetails
Properties
NamedConnection
View Source
Declaration
public string NamedConnection { get; }
Methods
OpenDbConnection()
View Source
Declaration
protected IDbConnection OpenDbConnection()
Returns
IDbConnection
Exec(Action<IDbConnection>)
View Source
Declaration
public override void Exec(Action<IDbConnection> fn)
Parameters
Type | Name |
---|---|
Action<IDbConnection> | fn |
Exec<T>(Func<IDbConnection, T>)
View Source
Declaration
public override T Exec<T>(Func<IDbConnection, T> fn)
Returns
<T>
Parameters
Type | Name |
---|---|
Func<IDbConnection,<T>> | fn |
Type Parameters
T
OpenDbConnectionAsync()
View Source
Declaration
protected async Task<IDbConnection> OpenDbConnectionAsync()
Returns
Task<IDbConnection>
ExecAsync(Func<IDbConnection, Task>)
View Source
Declaration
public override async Task ExecAsync(Func<IDbConnection, Task> fn)
Returns
Task
Parameters
Type | Name |
---|---|
Func<IDbConnection,Task> | fn |
ExecAsync<T>(Func<IDbConnection, Task<T>>)
View Source
Declaration
public override async Task<T> ExecAsync<T>(Func<IDbConnection, Task<T>> fn)
Returns
Task<<T>>
Parameters
Type | Name |
---|---|
Func<IDbConnection,Task<<T>>> | fn |
Type Parameters
T
Implements
- ServiceStack.Auth.IUserAuthRepository
- ServiceStack.Auth.IAuthRepository
- ServiceStack.IRequiresSchema
- ServiceStack.Auth.IClearable
- ServiceStack.Auth.IManageRoles
- ServiceStack.Auth.IManageApiKeys
- ServiceStack.Auth.ICustomUserAuth
- ServiceStack.Auth.IQueryUserAuth
- ServiceStack.Auth.IUserAuthRepositoryAsync
- ServiceStack.Auth.IAuthRepositoryAsync
- ServiceStack.Auth.IClearableAsync
- ServiceStack.Auth.IManageRolesAsync
- ServiceStack.Auth.IManageApiKeysAsync
- ServiceStack.Auth.IQueryUserAuthAsync
- ServiceStack.Auth.IManageSourceRolesAsync